import request from '@/utils/request'


export function createYzUserTag(data) {
  return request({
    url: '/api/YzUserTag/save',
    method: 'post',
    data
  })
}

export function delYzUserTag(id) {
  return request({
    url: '/api/YzUserTag/del/'+id,
    method: 'post'
  })
}


export function batchDel(data) {
  return request({
    url: '/api/YzUserTag/batch/del',
    method: 'post',
    data
  })
}

export function editYzUserTag(data) {
  return request({
    url: '/api/YzUserTag/update',
    method: 'post',
    data
  })
}



export function getInfo(id) {
  return request({
    url: '/api/YzUserTag/get/'+id,
    method: 'get',
    params: { id }
  })
}


export function getPageYzUserTag(query) {
  return request({
    url: '/api/YzUserTag/getPage',
    method: 'post',
    data: query
  })
}

export function getListYzUserTag(query) {
  return request({
    url: '/api/YzUserTag/getList',
    method: 'post',
    data: query
  })
}




